<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{$pagetitle}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/admin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/admin/style/global.css" media="all">
    <style>
        .layui-form-item .layui-form-label {
            width: 20%!important;
        }
        .layui-form-item .layui-input-inline {
            width: 80%!important;
        }
    </style>
</head>
<body>

<div class="layui-form layui-form-view" style="padding: 20px 30px 0 0;">

    <div class="layui-form-item">
        <label class="layui-form-label">id</label>
        <div class="layui-input-inline">{$r.id}</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">门店名称</label>
        <div class="layui-input-inline">{$r.store_name}</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系人</label>
        <div class="layui-input-inline">{$r.contact_name}</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">电话</label>
        <div class="layui-input-inline">{$r.mobile}</div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">所在省市区</label>
        <div class="layui-input-inline">{$r.province}-{$r.city}-{$r.area}</div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">详情地址</label>
        <div class="layui-input-inline">{$r.address}</div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">门店形象照片</label>
        <div class="layui-input-inline"><a href="{$r.photo_store}" target="_blank"><img src="{$r.photo_store}" style="height:100px; width:auto;"> </a> </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">营业执照</label>
        <div class="layui-input-inline"><a href="{$r.photo_certificate}" target="_blank"><img src="{$r.photo_certificate}" style="height:100px; width:auto;"> </a> </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">施工车间1</label>
        <div class="layui-input-inline"><a href="{$r.photo_workshop1}" target="_blank"><img src="{$r.photo_workshop1}" style="height:100px; width:auto;"> </a> </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">施工车间2</label>
        <div class="layui-input-inline"><a href="{$r.photo_workshop2}" target="_blank"><img src="{$r.photo_workshop2}" style="height:100px; width:auto;"> </a> </div>
    </div>


</div>

{include file="info/js"}
<script>
    $(".imageField_fancybox").fancybox();
</script>
</body>
</html>
